#include <stdio.h>

int main()
{
    int score;char grade;
    printf("please enter a score:\n");
    scanf("%d",&score);
    grade = score >= 90 ? 'A' : score >= 60 ? 'B' :'C';
    printf("%d belongs to %c",score,grade);
    printf("\n");
}